﻿using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.AutoMapper;
using Volo.Abp.Modularity;
using Volo.Abp.Application;
using Mozhi.Abp.Domain.BasicData;
using mozhi.smarterp.Business.Purchases;

namespace mozhi.smarterp.Business;

[DependsOn(
    typeof(BusinessDomainModule),
    typeof(BusinessApplicationContractsModule),
    typeof(AbpDddApplicationModule),
    typeof(AbpAutoMapperModule)
    )]
public class BusinessApplicationModule : AbpModule
{
    public override void ConfigureServices(ServiceConfigurationContext context)
    {
        context.Services.AddAutoMapperObjectMapper<BusinessApplicationModule>();
        Configure<AbpAutoMapperOptions>(options =>
        {
            options.AddMaps<BusinessApplicationModule>(validate: true);
        });

       
    }
}
